// Animal 类
class Animal {
    String name = "动物";

    public void makeSound() {
        System.out.println("动物的叫声");
    }
}

// Dog 类，继承自 Animal 类
class Dog extends Animal {
    String name = "狗";

    @Override
    public void makeSound() {
        System.out.println("汪汪汪");
    }
}

public class Main {
    public static void main(String[] args) {
        // 在这里做任何你想做的尝试
    }
}